package com.lbj.mvvm.update.net

import java.io.File

interface INetManage {
    fun get(url: String, callback: INetCallback, tag: Any)

    fun download(url: String, apkFile: File, callback: INetDownloadCallback, tag: Any)

    /**
     * 取消网络操作
     */
    fun cancel(tag: Any)
}